3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D provides routines that you can use to create and manage texture shaders.
You can use the Q3TextureShader_New function to create a new texture shader.
TQ3ShaderObject Q3TextureShader_New (TQ3TextureObject texture);
You can use the Q3TextureShader_GetTexture function to get the texture associated with a texture shader.
TQ3Status Q3TextureShader_GetTexture (
TQ3ShaderObject shader,
TQ3TextureObject *texture);
You can use the Q3TextureShader_SetTexture function to set the texture associated with a texture shader.
TQ3Status Q3TextureShader_SetTexture (
TQ3ShaderObject shader,
TQ3TextureObject texture);
Previous | QD3D Book | Overview | Chapter Contents | Next |